﻿using Orleans;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    /// <summary>
    /// 待命点分组，某个地标对应的待命点集合
    /// 注意，是分组，对应的KEY为判断点地标
    /// </summary>
    public interface IStayGroup:IGrainWithStringKey
    {
        Task 重置数据( );
         
        Task<bool>  锁定待命点(string MarkerID, long AgvID);

        Task 待命点解锁(string MarkerID);

        Task<long> 获取停得最久的AGV();

        Task<string?> 获取可用待命点ID();

        Task 全部解锁();
    }



    
}
